<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="http://qzonestyle.gtimg.cn/qzone/app/qzlike/qzopensl.js#jsdate=20111201" charset="utf-8"></script>
		<script type="text/javascript" src="../js/share.js" ></script>
	</head>
	<body>
		<h1>This is my test QQ share project!</h1>
		<div class="shareQzone"><span>分享到QQ空间:</span><span class="content"></span></div>
		<div class="shareQzoneFriend"><span>分享到QQ朋友圈:</span><span class="content"></span></div>
	</body>
	<script type="text/javascript">
		var shareQzoneData = {
			url:"http://blog.csdn.net/hinstenyhisoka",
			showcount: true,
			describe:"Hinsteny Hisoka blog!",
			summary:"我的博客",
			title:"Hinsteny",
			site:"Hisoka",
			pics:"http://avatar.csdn.net/2/3/9/2_hinstenyhisoka.jpg"
		}
		
		var shareQzoneFriendData = {
			url:"http://blog.csdn.net/hinstenyhisoka",
			showcount: true,
			describe:"Hinsteny Hisoka blog!",
			summary:"我的博客",
			title:"Hinsteny",
			site:"Hisoka",
			pics:"http://avatar.csdn.net/2/3/9/2_hinstenyhisoka.jpg"
		}
		var shareQzone = $(".shareQzone .content").get(0);
		console.log(shareQzone.outerHTML);
		share.shareQzone(shareQzone, shareQzoneData);
		var shareQzoneFriend = $(".shareQzoneFriend .content").get(0);
		console.log(shareQzoneFriend.outerHTML);
		share.shareQzoneFriend(shareQzoneFriend, shareQzoneFriendData);
		
	</script>
</html>
